From 0e3e7386050a101503567d083e5a0546c5488557 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 13 Jun 2016 08:49:13 +0100 Subject: [PATCH] ocaml/libxs: honour XEN_RUN_STORED Signed-off-by: Wei Liu Acked-by: David Scott --- tools/ocaml/libs/xs/xs.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ocaml/libs/xs/xs.ml b/tools/ocaml/libs/xs/xs.ml index 7e14487939..db9959ab4e 100644 --- a/tools/ocaml/libs/xs/xs.ml +++ b/tools/ocaml/libs/xs/xs.ml @@ -147,7 +147,7 @@ let monitor_paths xsh l time callback = end; unwatch () -let daemon_socket = "/var/run/xenstored/socket" +let daemon_socket = Paths.xen_run_stored ^ "/socket" (** Throws this rather than a miscellaneous Unix.connect failed *) exception Failed_to_connect -- 2.30.2